package com.aos.erp.schools.model.sys.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @program: erp
 * @description: 岗位职责
 * @author: tanzhiyu
 * @create: 2018-11-05 10:08
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("岗位职责")
public class PositionDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("岗位ID")
    private Long id;

    @ApiModelProperty("职位代码")
    private String code;

    @ApiModelProperty("职位名称")
    private String name;

    @ApiModelProperty("操作人姓名")
    private String operatorName;

    @ApiModelProperty("职位描述")
    private String remarks;

    @ApiModelProperty("部门id")
    private String depId;

    @ApiModelProperty("部门code")
    private String depCode;

    @ApiModelProperty("部门名称")
    private String depName;

    @ApiModelProperty("创建岗位名称")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String created;
}
